﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<SeaBattle.Web.Models.Lobby.CreateGameViewModel>" %>
<div id="createGameDialog" title="Создание новой игры">
    <%using (Html.BeginForm())
      {%>
    <div class="editor-label">
        Название
    </div>
    <div class="editor-field">
        <%:Html.TextBoxFor(x => x.Name) %>
    </div>
    <div class="editor-label">
        Ставка
    </div>
    <div class="editor-field">
        <%:Html.TextBoxFor(x => x.Preset) %>
    </div>
    <div id="createGame" style="float: right">
        <input type="submit" value="Создать" />
    </div>
    <%}%>
</div>
